find

fun find(toolName: String, versionSpec: String, arch: String? = null): Path?

Finds the path to a tool version in the local installed tool cache, or null if no matching versions were found.

Parameters

toolName

name of the tool

versionSpec

version of the tool

arch

optional arch. defaults to arch of computer

Sources

js source
Link copied to clipboard